<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <!-- 页面增加icon图标 -->
   
    <title>后端管理平台</title>
</head>

<body>
	<form action="test.html" method="post" enctype="multipart/form-data" id="myforms">
		<input type="file" onchange="changess(this.value)">
	</form>
</body>
<script>
	function changess(){
   console.log(this.value)
}
	window.onload=function(){

	}
</script>
</html>